//
//  MainGoodsFilterView.h
//  WeiYiMei
//
//  Created by 李叶夫 on 2019/4/11.
//  Copyright © 2019年 liyefu. All rights reserved.
//

#import "ANBaseView.h"

NS_ASSUME_NONNULL_BEGIN

static NSString *kTypeNormalState = @"商品类型";
static NSString *kSaleNornalState = @"";
static NSString *kSaleUpState = @"soldNum asc";
static NSString *kSaleDownState = @"soldNum desc";

typedef void(^typeHandler)(void);
typedef void(^allHandler)(void);
typedef void(^saleHandler)(void);//排序 已售数量  soldNum desc 降序 soldNum  asc 升序

@interface MainGoodsFilterView : ANBaseView

@property (nonatomic, copy) typeHandler typeHandler;
@property (nonatomic, copy) allHandler allHandler;
@property (nonatomic, copy) saleHandler saleHandler;

@property (nonatomic, assign) BOOL selectAll;
@property (nonatomic, copy) NSString *selectSale;
@property (nonatomic, copy) NSString *selectType;

//@property (nonatomic, copy) NSString *typeString;
//@property (nonatomic, copy) NSString *orderBy;//排序 已售数量  soldNum desc 降序 soldNum  asc 升序

@end

NS_ASSUME_NONNULL_END
